<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class ChatGroupMessages extends Model
{
    use HasFactory;
    protected $fillable = [
    	'chat_group_id',
	    'chat_user_id',
	    'type',
	    'content',
	    'remarks',
	    'read_num',
	    'is_push',
	    'is_last',
    ];
    protected function serializeDate(\DateTimeInterface $date)
    {
        return $date->getTimestamp();
    }
}
